public class Computer {
        int max(int a,int b) {
            return a>b?a:b;
        }
        float max(float a,float b) {
            return a>b?a:b;
        }
        double max(double a,double b) {
            return a>b?a:b;
        }
        int Sum(int[] arr) {
            int sum=0;
            for (int i = 0; i < arr.length; i++) {
                sum += arr[i];
            }
            return sum;
        }
        float Sum(float[] arr) {
            float sum=0;
            for (int i = 0; i < arr.length; i++) {
                sum += arr[i];
            }
            return sum;
        }
        double Sum(double[] arr) {
            double sum=0;
            for (int i = 0; i < arr.length; i++) {
                sum += arr[i];
            }
            return sum;
        }

}
